package mc.support.orm.shard;

/**
 * Created with IntelliJ IDEA. <br/>
 * Author: Francis Yuen    <br/>
 * Date: 2014-10-15  <br/>
 */
public interface ShardStrategy {

    /**
     * get shard table name
     * @param baseTableName logical table name
     * @param params params of mybatis statement
     * @param mapperId statement id of mybatis
     * @return
     */
    String shardTableName( String baseTableName, Object params, String mapperId );

}
